import request from '@/utils/request.js'

// 查询用户个人信息
export const getUserProfile = (params) => request.get('/api/profile', params)

// 修改用户个人信息
export const updateUserProfile = (params) => request.put('/api/profile', params)

// 修改用户密码
export const updateUserPwd = (params) => request.put('/api/updatePwd', params)